<!-- 首页 -->
<template>
  <div>
    <!-- 轮播图区域 -->
    <el-carousel height="600px">
      <el-carousel-item v-for="url in urllist" :key="url">
        <el-image style="width: 100%; height: 100%" :src="url"> </el-image>
      </el-carousel-item>
    </el-carousel>
    <!-- 页面内容区域 -->
    <div class="w1200">
      <!-- 内容1 -->
      <div class="kg_item">
        <img src="~@/assets/img/item_01.png" width="400" height="148" />
        <div class="kg_content">
          <div class="title">Gitee前端源码下载地址</div>
          <p>https://gitee.com/xiaokuang_nobug/game-front-end</p>
        </div>
      </div>
      <!-- 内容2 -->
      <div class="kg_item">
        <img src="~@/assets/img/item_02.png" width="400" height="148" />
        <div class="kg_content">
          <div class="title">Gitee后端源码下载地址</div>
          <p>https://gitee.com/xiaokuang_nobug/game-contest</p>
        </div>
      </div>
      <!-- 内容3 -->
      <div class="kg_item">
        <img src="~@/assets/img/item_03.jpg" width="400" height="148" />
        <div class="kg_content">
          <div class="title">团队成员</div>
          <p>前端负责人：小况同学</p>
          <p>后端负责人：小况同学</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      urllist: [
        "http://pic.netbian.com/uploads/allimg/200712/230718-159456643848d4.jpg",
        "http://pic.netbian.com/uploads/allimg/201018/212940-1603027780487a.jpg",
        "http://pic.netbian.com/uploads/allimg/200605/220606-159136596639ba.jpg",
        "http://pic.netbian.com/uploads/allimg/200416/214734-158704485443d1.jpg",
        "http://pic.netbian.com/uploads/allimg/200218/214317-1582033397a161.jpg",
      ],
    };
  },
  methods: {},
  created() {},
};
</script>
<style scoped>
/* 轮播图区域 */
.el-carousel--horizontal {
  width: 1300px;
}
/* 页面内容区域 */
.w1200 {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.kg_item {
  float: left;
  width: 400px;
  height: 366px;
  margin-top: 20px;
  border-left: 1px solid #e5e5e5;
}
.kg_content {
  padding-left: 23px;
  border-right: 1px solid #e5e5e5;
  height: 200px;
  margin-top: 0;
  padding-top: 0;
}
.kg_content .title {
  font-size: 30px;
  color: #333;
  margin: 0 0 14px;
  height: 42px;
  padding-top: 20px;
}
</style>